/*
 * @Author: your name
 * @Date: 2021-12-09 11:32:37
 * @LastEditTime: 2021-12-30 16:03:48
 * @LastEditors: Please set LastEditors
 * @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 * @FilePath: \geek-admin-test\src\router\index.js
 */

import {
    createRouter,
    createWebHashHistory,
  } from 'vue-router'

  
  const routes = [
    {
      path: '/',
      redirect: '/dashboard'
    },
    {
      path: '/dashboard',
      name: 'Home',
      component: () => import ( /* webpackChunkName: "dashboard" */ "../pages/home.vue")
    },
    
    {
      path: '/about',
      name: 'About',
      component: () => import ( /* webpackChunkName: "dashboard" */ "../pages/about.vue")
    },
    {
      path: '/rate',
      name: 'Rate',
      component: () => import ( /* webpackChunkName: "dashboard" */ "../pages/rate.vue")
    },
    {
      path: '/count',
      name: 'Count',
      component: () => import ( /* webpackChunkName: "dashboard" */ "../pages/head.vue")
    },
    {
      path: '/head',
      name: 'Head',
      component: () => import ( /* webpackChunkName: "dashboard" */ "../pages/vts.vue")
    },
    {
      path: '/todojsx',
      name: 'Todo',
      component: () => import ( /* webpackChunkName: "dashboard" */ "../pages/about.vue")
    },
    {
      path: '/vts',
      name: 'Vts',
      component: () => import ( /* webpackChunkName: "dashboard" */ "../components/Todo.jsx")
    },
    {
      path: '/echarts',
      name: 'Echarts',
      component: () => import ( /* webpackChunkName: "dashboard" */ "../pages/echarts.vue")
    },
    {
      path: '/mousemove',
      name: 'Mousemove',
      component: () => import ( /* webpackChunkName: "dashboard" */ "../pages/mousemove.vue")
    }
  ]
  
  const router = createRouter({
    history: createWebHashHistory(),
    routes
  })
  
  export default router
  